package com.wh.system.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wh.system.dto.PermissionDto;
import com.wh.system.pojo.Permission;

import java.util.List;
import java.util.Map;

public interface IPermissionService {

    void scanPermission();

     void add(Permission permission);


     void deleteById(Long id);


     void patchDel(List<Long> ids);


     void updateById(Permission permission);

     Permission findOne(Long id);

     List<Permission> findAll();

     IPage<Permission> findByPage(PermissionDto permissionDto);


}
